import request from '@/utils/request'

export function addComment(data) {
  return request({
    url: '/travelnotecomment/add',
    method: 'post',
    data
  })
}

export function findAll(data) {
  console.log(data)
  return request({
    url: '/travelnotecomment/findAll/'+data.one+ "/"+data.two,
    method: 'post',
    data
  })
}

export function reply(data) {
  return request({
    url: '/travelnotecomment/reply',
    method: 'post',
    data
  })
}

export function commentlike(data) {
  return request({
    url: '/click/like',
    method: 'post',
    data
  })
}